package edu.uwosh.cs342.group2.project4.storage;

public class Category {
	private int id;
	private String name;
	
	/**
	 * Constructor to set the id only of the category
	 * @param id
	 */
	public Category(int id) {
		this.id = id;
	}
	
	/**
	 * Constructor to set the id and name of the category
	 * @param id
	 * @param name
	 */
	public Category(int id, String name) {
		this.id = id;
		this.name = name;
	}
	
	/**
	 * Gets the id of the category
	 * @return
	 */
	public int getId() {
		return this.id;
	}
	
	/**
	 * Sets the id of the category
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}
	
	/**
	 * Gets the name of the category
	 * @return
	 */
	public String getName() {
		return this.name;
	}
	
	/**
	 * Sets the name of the category
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}
}
